﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yunwei.Domain.Models;

namespace Yunwei.IBizLogic
{
    public interface IOrderService : IBaseService<Order>
    {
        IQueryable<Order> FindList(int number, string orderNo, int restaurant_Id, int user_Id,  Nullable<DateTime> fromDate, Nullable<DateTime> toDate, int orderCode);
        IQueryable<Order> FindPageList(out int totalRecord, int pageIndex, int pageSize, string orderNo, int restaurant_Id, int user_Id, Nullable<DateTime> fromDate, Nullable<DateTime> toDate, int orderCode);
        IQueryable<Order> Order(IQueryable<Order> entitys, int orderCode);
    }
}
